<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<title>F21 Assessoria</title>
</h:head>
<h:body>
	<ui:composition template="/pages/template.xhtml">
		<ui:define name="titulo">
			<h:outputText value="#{msgs['titulo.cadastro.modalidades']}" />
		</ui:define>
		<ui:define name="corpo">
			<h:form id="formLista">
				<p:dataTable id="tabelamodalidade"
					value="#{ModalidadeController.listaModalidades}" var="vModalidade">
					<f:facet name="header">
						<h:outputText value="Lista" />
					</f:facet>

					<p:column style="width:2%">
						<p:rowToggler />
					</p:column>

					<p:column>
						<h:outputFormat value="#{vModalidade.nome}" />
					</p:column>
					
					<p:column>
						<h:outputFormat value="#{vModalidade.descricao}" />
					</p:column>
					
					<p:rowExpansion>
					
					</p:rowExpansion>
				</p:dataTable>
			</h:form>
		</ui:define>
	</ui:composition>

</h:body>
</html>